<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <p>{{reversedMessage()}}</p>
    <p>{{now}}</p>
</div>

<script src="../js/vue.js"></script>
<script>
    var vm = new Vue({
        el: '#app',
        data: {
            message: 'Hello'
        },
        methods: {
            reversedMessage: function (){
                return this.message.split('').reverse().join('')
            }
        },
        computed: {
            now: function (){
                return Date.now()
            }
        }
    })
</script>
</body>
</html>